﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZDSoft.UPMS.Model.BusinessPart;

namespace ZDSoft.UPMS.Service.BusinessPart
{
    public interface IRuleService : IServiceBase<Rule>
    {

       
        /// <summary>
        ///  // 平时成绩
        /// </summary>
        /// <param name="count">布置作业的次数</param>
        /// <param name="unfinishTimes">未完成次数</param>
        /// <returns></returns>
      int decreaseForGrade(int count,int unfinishTimes);

        /// <summary>
        /// 纪略成绩
        /// </summary>
        /// <param name="count">上课总次数</param>
        /// <param name="type">类型</param>
        /// <param name="type">次数</param>
        /// <returns></returns>

        double decreaseFordiscipline(int count, string type, int times);
        
        /// <summary>
        /// 课堂表现
        /// </summary>
        /// <param name="count">上课次数</param>
        /// <param name="type">类型</param>
        /// <returns></returns>
        double decreaseForclassperform(int count,string type);
       


  
    }
}
